{layout name="layout/layout" /}
<div class="king-content-wrap">
    <div class="king-layout1-content" style="margin-top: 0;margin-left: 0;">
		<ol class="breadcrumb">
		  	<li><span>景点管理</span></li>
		  	<li><span>列表</span></li>
		</ol>
		<div class="clearfix m20">
	        <a class="btn btn-success" href="{:Url('Scenic/add')}">添 加</a>
		</div>
		<div class="panel panel-default m20">
		    <div class="panel-body">
                {empty name="items"}
                无记录
                {else /}
				{volist name="items" id="item"}
					<ul class="list-group">
						<li class="list-group-item">
							<span>{$item.title}</span>
                            <span>{$item.description}</span>
							<span style="float:right;">
								<a href="{:Url('Scenic/edit?id='.$item->id)}">编辑</a>
								<a class="del" data-id="{$item.id}" data-url="{:Url('Scenic/del')}" href="javascript:void(0);">删除</a>
							</span>
						</li>
					</ul>
				{/volist}
                {$page}
                {/empty}
			</div>
		</div>
	</div>
</div>
